package br.com.inovati.linkers.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.com.inovati.linkers.entity.Grupos;
import br.com.inovati.linkers.services.GrupoServiceRemote;

@Stateless
public class GrupoServiceImpl implements GrupoServiceRemote {

	@PersistenceContext(unitName = "linkers")
	private EntityManager em;

	@Override
	public Grupos inserir(Grupos grupo) {
		em.persist(grupo);
		return grupo;
	}
}